package chapter1;

public class ExampleA
{
    public static void main(String[] args)
    {
        int val;
        val = Integer.parseInt(args[0]);
        if (val !=0 &&1.0/val < Double.MAX_VALUE)
            System.out.println("val的倒数为："+1.0/val);
        else
            System.out.println("val的倒数无穷大");
    }
}
